package com.forur.stubootstarter4.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.forur.stubootstarter4.entity.UserOrder;
import org.apache.ibatis.annotations.Select;

public interface UserOrderMapper extends BaseMapper<UserOrder> {

    @Select("select count(*) from user_order limit #{pageNum}, 5")
    int getAllNumber(int pageNum);
}
